<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="shortcut icon" href="#" type="image/x-icon">
    <title>03 - 动画与Application类</title>
    <style>
        body {
            margin: 0;
            background: #eeeeee;
        }

        #canvas {
            background: #fff;
            margin: 10px 15px 20px 25px;
            border-style: solid;
            border-width: 25px 35px 20px 30px;
            border-color: gray;
            padding-top: 10px;
            padding-right: 0.25em;
            padding-bottom: 2ex;
            padding-left: 20%;
            -webkit-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
            -moz-box-shadow: 4px 4px 8px rgba (0, 0, 0, 0.5);
            box-shadow: 4px 4px 8px rgba (0, 0, 0, 0.5);
        }
    </style>
</head>

<body id="body">
    <div>
        <button id="start">start</button>
        <button id="stop">stop</button>
    </div>
    <canvas id="canvas" width="300" height="300"></canvas>
</body>

</html>